package com.java.entity.event;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.java.entity.RaceAccount;
import com.java.entity.RacePost;

/**
* @ClassName: RacePost
* @Description: race_post表：帖子行为执行类
* @author admin
* @date 2024-03-28
 */
public class RacePostEvent extends RacePost {

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
	private Date postTime;

	private RaceAccount postUser;
	
	private List<RaceCommentEvent> comments;

	public RacePostEvent() {
		super();
	}

	public RaceAccount getPostUser() {
		return postUser;
	}

	public void setPostUser(RaceAccount postUser) {
		this.postUser = postUser;
	}

	public List<RaceCommentEvent> getComments() {
		return comments;
	}

	public void setComments(List<RaceCommentEvent> comments) {
		this.comments = comments;
	}

}